import request from './request.js'

const vip = {
	//获取会员卡列表
	getMemberCard(data) {
		return request.get('/pub/getMemberCard', {data})
	},
	//会员卡详情
	getMemberCardInfo(data) {
		return request.get('/pub/getMemberCardInfo', {data})
	},
	//会员卡购买
	memberCorder(data) {
		return request.post('/member/memberCorder', data)
	},
	//会员卡订单
	getMemberOrderList(data) {
		return request.get('/member/getMemberOrderList', {data})
	},
	//取消订单
	memberCorderCancel(data) {
		return request.get('/member/memberCorderCancel', {data})
	},
	//会员卡支付
	memberPay(data) {
		return request.post('/member/memberPay', data)
	},
	//删除订单
	memberCorderDel(data) {
		return request.get('/member/memberCorderDel', {data})
	}
}
export default vip